package com.proxy;

import com.proxy.impl.UserImpl;

public class Test {

	public static void main(String[] args) {

		User user = new UserImpl();
		User u = (User) new UserProxy(user).getProxy();

		String s = u.hello("Rose");
		System.out.println(s);
	}
}
